package com.ruoyi.service.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.service.project.entity.ProjectSuddenEntity;
import java.util.List;
import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 项目异常管理 服务类
 * </p>
 *
 * @author Zane
 * @since 2025-10-17
 */
public interface ProjectSuddenService extends IService<ProjectSuddenEntity> {

  List<ProjectSuddenEntity> listByProjectId(@NotBlank(message = "项目ID不能为空") String projectId);

  Long projectDemanderSuddenCount(Long userId);
}
